<%@include file="../header.jsp"%>

<!-- start content-outer -->
<div id="content-outer"><!-- start content -->
<div id="content">
<div id="page-heading">
<h1>Buat Berita TA</h1>
</div>
<table id="content-table" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" alt="" height="300" width="20" /></th>
<th class="topleft"></th>
<td id="tbl-border-top">&nbsp;</td>
<th class="topright"></th>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" alt="" height="300" width="20" /></th>
</tr>
<tr>
<td id="tbl-border-left"></td>
<td><!-- start content-table-inner -->
<div id="content-table-inner">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr valign="top">
<td><!-- start step-holder -->
<!-- end step-holder -->
<!-- start id-form -->
<!-- script tiny mce -->

<!-- end script tiny mce -->
<script>
function validateFormBeritaTA()
{
if (document.buatBerita.judulBerita.value=="")
  {
  alert("Judul berita harus diisi !");
  document.buatBerita.judulBerita.focus();
  return false;
  }
else if (document.buatBerita.isiBerita.value == null)
  {
  alert("Isi berita harus diisi !");
  document.buatBerita.isiBerita.focus();
  return false;
  }
else if (document.buatBerita.isiBerita.value == "")
  {
  alert("Isi berita harus diisi !");
  document.buatBerita.isiBerita.focus();
  return false;
  }
}
</script>
<script type="text/javascript" src="js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" >
tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        plugins : "emotions,spellchecker,advhr,insertdatetime,preview", 
                
        // Theme options - button# indicated the row# only
        theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright,fontselect,fontsizeselect,formatselect",
        theme_advanced_buttons2 : "cut,copy,paste,|,bullist,numlist,|,outdent,indent,forecolor,backcolor,emotions",
        theme_advanced_buttons3 : "",      
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true
});
</script>
<table id="id-form" border="0" cellpadding="0" cellspacing="0">
<form name="buatBerita" action="SidangTAController?page=buatBeritaTA" onSubmit="return validateFormBeritaTA()" method="post">    
<tbody>
<tr>
<th width="130" >Judul Berita</th>
<td width="29" valign="middle" align="center">:</td>
<td width="403">
    <input type="hidden" name="idUser" value="${idUser}"></input>
    <input name="judulBerita" class="inp-form" type="text" ></input>
</td>
<td width="187" ></td>
</tr>
<tr>
  <th valign="middle">Isi Berita</th>
  <td valign="middle" align="center">:</td>
  <td>
      <textarea name="isiBerita" ></textarea>
  </td>
  <td></td>
</tr>
<tr>
  <th>&nbsp;</th>
  <td valign="top">&nbsp;</td>
  <td valign="top"> <input value="" class="form-publikasi" type="submit" />
  <td></td>
</tr>
</tbody>
</form>
</table>
<!-- end id-form --> </td>
<td><!-- start related-activities --></td>

</tr>
<tr>
<td><img src="images/shared/blank.gif" alt="blank" height="1" width="695" /></td>
<td></td>
</tr>
</tbody>
</table>
<div class="clear"></div>
</div>
<!-- end content-table-inner -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
<th class="sized bottomleft"></th>
<td id="tbl-border-bottom">&nbsp;</td>
<th class="sized bottomright"></th>
</tr>
</tbody>
</table>
<div class="clear">&nbsp;</div>
</div>
<!-- end content -->
<div class="clear">&nbsp;</div>
</div>
<!-- end content-outer -->
<div class="clear">&nbsp;</div>
<!-- start footer -->
<div id="footer"><!-- start footer-left -->
<div id="footer-left"> Admin Skin © Copyright Internet
Dreams Ltd. <a href="">www.netdreams.co.uk</a>. All
rights reserved.</div>
<!-- end footer-left -->
<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
</body></html>